package com.peanut.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.orm.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BookChapter {
	@TableId
	private Integer id;
	
	private Integer bookId;
	
	private Integer chapterCode;
	
	private String chapterContent;
	
	private String chapterName;
	
	private Integer isVip;
	
	
	private Double money;
	
	private Integer wordCount;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
}
